import request from '@/utils/request'
import cfg from '@/config/config'

const homeSummaryApi = {
  getUserMjList:() =>{//获取刷卡记录
        return request('get', cfg.apiUrl + 'api/report/getUserMjList');
    },
  getUserMj:() =>{//获取门禁照片
      return request('get', cfg.apiUrl + 'api/report/getUserMj');
    },
  getDeviceOnline:() =>{//获取监控设备信息
    return request('get', cfg.apiUrl + 'api/report/getDeviceOnline');
  }
}

export default homeSummaryApi;

